package com.oocl.euc.core.requestform.model;

import com.oocl.euc.audit.AuditEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name = "PCRS_SEQ_CONFIG")
@SequenceGenerator(name = "SEQUENCE_GENERATOR", sequenceName = "SEQ_CONFIG_SEQUENCE", allocationSize = 1)
public class RequestSeqConfig extends AuditEntity {

    @Column(name = "PREFIX")
    private String prefix;
    @Column(name = "LENGTH")
    private Integer length;
    @Column(name = "CURRENT_NO")
    private Long currentNo;
    @Column(name = "MODEL")
    private String model;

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Long getCurrentNo() {
        return currentNo;
    }

    public void setCurrentNo(Long currentNo) {
        this.currentNo = currentNo;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

}
